package com.huaixia18.systemnotice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaixia18.systemnotice.domain.ManagerSystemNotice;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ManagerSystemNoticeMapper extends BaseMapper<ManagerSystemNotice> {

    // 根据type查询管理员系统通知
    List<ManagerSystemNotice> findByType(String type);

    // 根据systemNoticeId查询管理员系统通知
    ManagerSystemNotice findBySystemNoticeId(Long systemNoticeId);

}
